>> I've been experimenting with both Vis/Pro Rexx and Watcom rexx for
>>the last week now, and I still can't figure out how to work with variables. What I would liek to do is port some of my visual basic programs to os/2 with
>>some visual rexx varient.
..
>
>(BTW, tails do NOT have to be sequential, or even numeric. So
>
>array.MAX = 3
>
>is just a legal, and works so long as the variable MAX is not assigned
>some other value.)
>
>
It is safest to adopt a 'standard' for yourself to pre-fix all non-variable stem
index items with a special character. I picked that up from someone, and use
his convention. Any non-variable stem index begins with '!', e.g.
Array.!max
I never use '!' as the first character of a variable, so I'm safe. The stem
in REXX is a combination of an array, a record structure and a b-tree database.
E.G.
strings. = 0
x = 'Any old string'
strings.x = 1
y = 'Any old string'
if strings.y then say " 'Any old string' can be an index for a stem"